package com.hlkj.pay.app.merchant.ext.impl.helipay.dto.req;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/12 15:31
 */
@Data
public class HeliPayAuthQueryRes {
    private String merchantNo;
    //客户端类型
    private String appPayType;
    //请求单号
    private String orderNo;
    //报备结果 DOING SUCCESS FAIL
    private String status;
    //报备失败原因
    private String reportFailedReason;
    //报名状态 蓝海绿洲报名状态
    private String weChantStatus;
    //商户收银台url
    private String cashierUrl ;
    //第三方平台信息
    private List<HeliPayPartnerAuthQueryRes> threePartnerNoData;
    private List<HeliPayUnionPayAuthQueryRes> unionPayRecords;
    @Data
    public static class HeliPayPartnerAuthQueryRes{
        //第三方平台渠道号
        private String channelMerchantNo;
        //第三方交易识别码
        private String threePartnerNo;
        //授权状态
        private String authorizeStatus;
        //认证状态
        private String confirmStatus;
        //联系人信息确认二维码
        private String qrCodeData;
        //失败原因
        private String reportFailedReason;
        //微信结算规则ID
        private String wxRuleId;
        //报备id
        private String reportId;
    }
    @Data
    public static class HeliPayUnionPayAuthQueryRes{
        //第三方平台渠道号
        private String qrCode;
        //第三方交易识别码
        private String subMerchantNo;
    }
}
